package com.akaovi.shareWare.mess;

/**
 * @author akaovi
 * @version 1.0
 * @description 文本消息类型
 * @date 2022/10/13 23:38
 * @since 2022/10/13 23:38
 */
public class TextMess extends Message{
    private final String text;

    public TextMess(ContentType contentType, String text) {
        super(contentType);
        this.text = text;
    }

    public String getText() {
        return text;
    }
}
